package com.zhiche.lisa.lspm.dao.model.lsp;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 承运商正式份额（审核之后）
 * </p>
 *
 * @author qichao
 * @since 2018-06-27
 */
@TableName("lisa_lsp_share_formal")
public class LspShareFormal extends Model<LspShareFormal> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 审核人
     */
	private Integer auditor;
    /**
     * 审核日期
     */
	@TableField("gmt_audit")
	private Date gmtAudit;
    /**
     * 份额ID
     */
	@TableField("share_id")
	private Integer shareId;
    /**
     * 租户ID
     */
	@TableField("tenant_id")
	private Integer tenantId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAuditor() {
		return auditor;
	}

	public void setAuditor(Integer auditor) {
		this.auditor = auditor;
	}

	public Date getGmtAudit() {
		return gmtAudit;
	}

	public void setGmtAudit(Date gmtAudit) {
		this.gmtAudit = gmtAudit;
	}

	public Integer getShareId() {
		return shareId;
	}

	public void setShareId(Integer shareId) {
		this.shareId = shareId;
	}

	public Integer getTenantId() {
		return tenantId;
	}

	public void setTenantId(Integer tenantId) {
		this.tenantId = tenantId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LspShareFormal{" +
			", id=" + id +
			", auditor=" + auditor +
			", gmtAudit=" + gmtAudit +
			", shareId=" + shareId +
			", tenantId=" + tenantId +
			"}";
	}
}
